Simon's NM Sample Generator
(c) Simon Detheridge 1999
simon@widgitsw.demon.co.uk

Included Files:

raw2pch.exe - the program file
raw2pch.dpr - source code
raw2pch.dof
raw2pch.res - required to build file program file (I think)
example.raw - example rawfile
1template.pch
2template.pch
3telpmate.pch
4template.pch - template files
README FIRST!.txt - this file

Instructions for use:

This program basically turns a data file into a sequence of 
series of parameters in a Nord Modular patch. Supports files
up to 2048 bytes.

To convert a wave file, do the following:

Sample it down to something like 4Khz, in an audio editing
program such as SoundForge, and save it as a RAW file (not a
wave file) into the same directory as this program.

Run the program, and it will prompt you for an input and
output file name. The program will then generate up to 4
patches (depending on the length of the file you are converting)
based on the input template files.

Tips:

Currently there is no room left in the patches for additional
modules... If you are only using one patch, you can remove the
Clock Dividers, and Event Sequencer to free up extra space.

If you wish to have additional modules in multiple patches,
remove the requisite number of Control Sequencers from the end
of the chain in each patch, and set the value of the 'CtrlSeq Count'
clock divider to be the number of Control Sequencers left, before
you run the program... It will simply move on to the next file as
soon as it runs out of CtrlSeqs.

You will need to group all the patches together to play them
back. I did this by setting all the slots on my modular to
recieve on the same channel, and playing it with a keyboard.
You can also do this by setting the 'Keyboard Mode' on the NM
to 'Selected Slots'. 

I've set the knob assignments for the template patches as follows:
1) Volume, 2) Filter Cut-Off, 3) Resonance. Putting the Modular in
panel-split mode makes adjusting them easier.

And of course, it's not essential that you use wave data either.
A bitmap or similar would work just as well, provided it was
saved in a raw file format.

Source code:

The file raw2wav.dpr contains all the source code used to build
the program. It was created with Borland Delphi 3, but will 
probably work with Delphi 2 as well (untested).

Request:

If you do anything with this program you think might I might find
interesting, please send me a copy, or post it to the NM list.

Legal Mumbo Jumbo:

This program is FREEWARE. Feel free to modify and distribute it as
much as you like, as long as ALL the files listed at the top of this 
file are attached, and this file is left unaltered except for a list 
of what modifications have been made.

USE THIS PROGRAM AT YOUR OWN RISK! I MAKE NO GUARANTEES THAT IS
SUITABLE FOR USE ON ANY SYSTEM, AND WILL NOT ACCEPT ANY RESPONSIBILITY FOR
LOSS OF DATA, OR DAMAGE TO HARDWARE FROM IT'S USE, HOWEVER CAUSED.